package com.darren.archive.service;

import com.darren.archive.entity.SysRoleFunction;
import com.darren.framework.service.GenericService;

import java.util.List;


/**
 * <pre>
 * *********************************************
 * Copyright DARREN
 * All rights reserved.
 * Description: TODO(description)
 * HISTORY:
 * *********************************************
 *  Version		Date		Author	   		Desc
 *   v1.0       2018-04-11  Darren Zhou    Create
 *
 * *********************************************
 * </pre>
 */
public interface SysRoleFunctionService extends GenericService<SysRoleFunction, Long> {

    void deleteRoleFunctionByRoleId(Long roleId);

    List<Long> getFunctionIdsByRoleId(Long roleId, Integer checkedStatus);

    Integer batchSaveRoleFunction(Long roleId, List<Long> functionIds, Integer checkedStatus);

}
